package com.snowRemovingUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 操作日志对象 t_operation
 *
 * @author liguang
 * @date 2023-04-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TOperation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作日志主键 */
    private Long operId;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private String operAccount;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Integer operType;

    /** 操作ip */
    @Excel(name = "操作ip")
    private String operIp;

    /** 登陆地点 */
    @Excel(name = "登陆地点")
    private String operLocation;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operTime;


}
